package com.jft.javalab.concurrent;

import java.util.concurrent.Callable;

public class MyCallable implements Callable<String> {
    @Override
    public String call() throws Exception {
        String value="MyCallble";
        System.out.println("start to work!");
        Thread.currentThread().sleep(1000);
        System.out.println("work done!");
        return value;
    }
}
